def main():
    try:
        f = open("TextFile.txt",'r')
        for line in f:
            print(line.strip('\n'))
            f.close()
    except:
        print("file not found")
        
    finally:
        print("close")


if __name__ == "__main__":
    main()